Murray Cumming [Mon, 13 Jul 2009 17:37:25 +0000 (19:37 +0200)]
GtkTool*: Removed the HAVE_EXTENDED_TOOL_SHELL_SUPPORT_BUG_535090 ifdefs. This gives us nicer text alignment among other things.
Murray Cumming [Mon, 13 Jul 2009 17:13:59 +0000 (19:13 +0200)]
ToolShell: Add ellipsize, text-orientation, text-alignment and size-group.
* gtk/gtktoolshell.c: Added vfuncs to get/set ellipsize, text-orientation,
text-alignment and size-group plus getter/setters to invoke these vfuncs.
* gtk/gtktoolitem.[h|c]: Added getters and setters to get/set these from the
parent GtkToolShell. This is in the style of the existing "properties".
* gtk/gtktoolbutton.c: Updated to use the extra properties.
* docs/reference/gtk/gtk-sections.txt
* gtk/gtk.symbols: Updated to mention the new functions.
These new "properties" are used by GtkToolPalette.
Murray Cumming [Mon, 13 Jul 2009 17:11:12 +0000 (19:11 +0200)]
Added missing files that I thought I had already added.
Murray Cumming [Mon, 13 Jul 2009 16:45:48 +0000 (18:45 +0200)]
gtk+/demos/gtk-demo/: Added GtkToolPalette demo.
Johannes Schmid [Mon, 13 Jul 2009 15:38:34 +0000 (17:38 +0200)]
Added GtkToolPalette.
* gtk/gtktoolpallete.[h|cc]:
* gtk/gtktoolitemgroup.[h|cc]: Added a tool pallete container widget,
with groups of toolbar items that can be shown as a grid of icons
or a list of names.
* gtk/Makefile.am:
* gtk/gtk.h:
* gtk/gtkmarshal.list: Mentioned the new files.
Bug #567729
Kjartan Maraas [Mon, 13 Jul 2009 09:16:46 +0000 (11:16 +0200)]
Updated Norwegian bokmål translation.
Hans Breuer [Sun, 12 Jul 2009 20:32:28 +0000 (22:32 +0200)]
Implement _gdk_win32_window_destroy() and more cleanup
Implement _gdk_win32_window_destroy() by just renaming
_gdk_windowing_window_destroy(), removed superfuous stub.
Also cleaned up implementations of gdk_win32_window_set_background()
and gdk_win32_window_set_back_pixmap() - removed stuff now done at the
respective gdk_window_*() function.
Hans Breuer [Sun, 12 Jul 2009 19:26:29 +0000 (21:26 +0200)]
Implement _gdk_win32_window_queue_translation()
Hans Breuer [Sun, 12 Jul 2009 17:36:30 +0000 (19:36 +0200)]
Mark gtk_custom_paper_unix_dialog_get_type() unix only
Hans Breuer [Sun, 12 Jul 2009 16:58:59 +0000 (18:58 +0200)]
Bug #588388 - shape rendering is back
Just mapping exisiting implementations to new GdkWindow API.
http://bugzilla.gnome.org/show_bug.cgi?id=588388
Hans Breuer [Sun, 12 Jul 2009 16:51:20 +0000 (18:51 +0200)]
Make more use of defines in $(TOP)/build/win32/make.msc
Hans Breuer [Sun, 12 Jul 2009 16:23:01 +0000 (18:23 +0200)]
Bug #588379 - testgtk::panes does not change the cursor on mouse over
That one was easy, just removing Alex's #ifdef TODO_CSW ;)
http://bugzilla.gnome.org/show_bug.cgi?id=588379
Hans Breuer [Sun, 12 Jul 2009 16:20:08 +0000 (18:20 +0200)]
Bug #588373 - Menus broken by client-side-windows
Resurrcetion and adaption of find_window_for_mouse_event(). The window
receiving the WM_MOUSEMOVE, WM_?BUTTONDOWN is not necessarily the one
interested in GDK_(ENTER|MOTION|LEAVE)_NOTIFY
http://bugzilla.gnome.org/show_bug.cgi?id=588373
Also added some more more TODO_CSW and disabled print_event(): it can not
cope with the new _gdk_windowing_got_event() eating/morphing events.
Hans Breuer [Sun, 12 Jul 2009 16:00:40 +0000 (18:00 +0200)]
Fix gccism - pointer arithmetic with void pointers
Hans Breuer [Sun, 12 Jul 2009 15:58:41 +0000 (17:58 +0200)]
Fix c99ism - declaration in the mid of a block
Hans Breuer [Sun, 12 Jul 2009 15:57:13 +0000 (17:57 +0200)]
Update msvc build
Hans Breuer [Fri, 10 Jul 2009 11:42:46 +0000 (13:42 +0200)]
Build more testapps, use G_PI instead of M_PI
Matthias Clasen [Mon, 13 Jul 2009 03:04:57 +0000 (23:04 -0400)]
Revert
8031432c09c864d6fe635a8e8890c5221399fc4f
We can't disallow single-includes unconditionally because gtkentrybuffer.h
is included in gtkentry.h.
Chao-Hsiung Liao [Sun, 12 Jul 2009 07:41:40 +0000 (15:41 +0800)]
Updated Traditional Chinese (Hong Kong and Taiwan)
Jorge González [Sat, 11 Jul 2009 12:44:51 +0000 (14:44 +0200)]
Updated Spanish translation
Jorge González [Sat, 11 Jul 2009 12:44:43 +0000 (14:44 +0200)]
Updated Spanish translation
Matthias Clasen [Sat, 11 Jul 2009 02:29:50 +0000 (22:29 -0400)]
Remove outdated text from README.in
The PATCH and API keywords are no longer in use. Pointed out in 588229.
Matthias Clasen [Fri, 10 Jul 2009 23:45:21 +0000 (19:45 -0400)]
Bump version to 2.17.5
Matthias Clasen [Fri, 10 Jul 2009 23:02:32 +0000 (19:02 -0400)]
2.17.4
Alexander Larsson [Fri, 10 Jul 2009 22:28:18 +0000 (00:28 +0200)]
Don't draw to unviewable windows
The scrolling and region moving code needs to avoid drawing when the
window is mapped, which it did. However, it also needs to avoid
drawing when any of its parents are not mapped, which it didn't so
switch to using gdk_window_is_viewable().
This fixes the index rendering in evolution (#588169)
Matthias Clasen [Fri, 10 Jul 2009 22:12:42 +0000 (18:12 -0400)]
Exclude GtkEntry::buffer from default value testing
Matthias Clasen [Fri, 10 Jul 2009 22:12:22 +0000 (18:12 -0400)]
Make pltcheck pass
Matthias Clasen [Fri, 10 Jul 2009 18:00:35 +0000 (14:00 -0400)]
Update
Michael Natterer [Fri, 10 Jul 2009 18:27:33 +0000 (20:27 +0200)]
Create a buffer in init() so subclasses can use the entry in their init()
Alexander Larsson [Fri, 10 Jul 2009 17:36:38 +0000 (19:36 +0200)]
Ensure that windows used for selections are native
This fixes cut and paste in gvim (#588115)
Alexander Larsson [Fri, 10 Jul 2009 15:30:42 +0000 (17:30 +0200)]
Manually update toplevel_under_pointer when a grab changes to owner_events
When we ungrab the pointer we don't get enter events for the window the
pointer is in at the time of the ungrab, so we manually query for the
window the pointer is in. The same thing actually happens on re-grab if
the previous grab was !owner_events (meaning we don't get crossing events
for windows other than the grab) but the new grab is owner_events (and
thus non-grab windows need to get crossing events).
This factors out some common code and enables it also for the re-grab
to owner_events case.
Marek Kasik [Fri, 10 Jul 2009 09:28:31 +0000 (11:28 +0200)]
Add paper size combo and orientation combo to print dialog
Paper size combo and orientation combo can be added by
gtk_print_operation_set_embed_page_setup_dialog() to GtkPrinUnixDialog
now. This function induce calling of
gtk_print_unix_dailog_set_embed_page_setup_dialog() after creation of
dialog. These two functions control embed-page-setup-dialog properties
in GtkPrintOperation and in GtkPrintUnixDialog.
There is also new function gtk_print_unix_dialog_get_page_setup_set()
which says whether page setup was set by user.
Selected page setup is stored as default page setup in
GtkPrintOperation.
New class is added, its name is GtkCustomPaperUnixDialog. The class
manages custom sizes. It is derived from GtkPageSetupUnixDialog's
CustomPaperDialog structure.
Page layout preview is modified, so, it shows dimensions of current
page setup (mm or inch - depends on locale). It also shows the name of
actual paper if page setup dialog is not embedded (paper size combo is
not visible).
gtk-demo is actualized to include this new feature.
Cody Russell [Fri, 10 Jul 2009 02:21:28 +0000 (03:21 +0100)]
Merge branch 'directfb-csw'
Cody Russell [Thu, 9 Jul 2009 22:53:26 +0000 (23:53 +0100)]
get directfb building with csw
Maxim V. Dziumanenko [Thu, 9 Jul 2009 20:55:59 +0000 (23:55 +0300)]
Updated Ukrainian translation
Jorge González [Thu, 9 Jul 2009 18:58:54 +0000 (20:58 +0200)]
Updated Spanish translation
Matthias Clasen [Thu, 9 Jul 2009 17:59:35 +0000 (13:59 -0400)]
Make link coloring in labels optional
Turns out that link coloring is expected for actual hypertext-like
use, but when using links just as 'mutant button', then it gets
in the way.
Michael Natterer [Thu, 9 Jul 2009 15:59:41 +0000 (17:59 +0200)]
Add xevent->xcrossing.mode to GDK_NOTE() for enter and leave notify events
Alexander Larsson [Thu, 9 Jul 2009 15:10:56 +0000 (17:10 +0200)]
Remove accidentally added debug spew
Alexander Larsson [Thu, 9 Jul 2009 14:48:22 +0000 (16:48 +0200)]
Correctly set enter/leave events as detail=nonlinear
If we get a nonlinear enter/leave notify on the toplevel we need
to set nonlinear in all the events we send, even if the in-toplevel
tree is linear.
This fixes combobox menus popping down immediately when you click
(not hold). (bug #587559)
Michael Natterer [Thu, 9 Jul 2009 14:31:27 +0000 (16:31 +0200)]
Disallow single-include unconditionally because this is a new file
Michael Natterer [Thu, 9 Jul 2009 14:30:52 +0000 (16:30 +0200)]
Add single-include guard
Tino Meinen [Thu, 9 Jul 2009 10:36:05 +0000 (11:36 +0100)]
Dutch translation updated
Tino Meinen [Thu, 9 Jul 2009 10:35:03 +0000 (11:35 +0100)]
Dutch translation updated
Maxim V. Dziumanenko [Thu, 9 Jul 2009 07:48:54 +0000 (10:48 +0300)]
Updated Ukrainian translation
Maxim V. Dziumanenko [Thu, 9 Jul 2009 07:45:55 +0000 (10:45 +0300)]
Updated Ukrainian translation
Jorge González [Thu, 9 Jul 2009 05:36:52 +0000 (07:36 +0200)]
Updated Spanish translation
Stef Walter [Thu, 9 Jul 2009 01:41:53 +0000 (20:41 -0500)]
GtkEntryBuffer holds text for GtkEntry
Adds a 'model' type buffer for GtkEntry in which the actual
textual data is stored. GtkEntryBuffer can be subclassed.
Among other things, this allows GtkEntry to be used for secrets
that need to be stored in non-pageable memory. It also allows
buffers to be shared by entries.
See bug #576801.
Alexander Larsson [Wed, 8 Jul 2009 16:40:05 +0000 (18:40 +0200)]
Handle non-native windows in the gdk test utils
We need to add the non-native offset to the root coords when
sending events.
Alexander Larsson [Wed, 8 Jul 2009 16:36:24 +0000 (18:36 +0200)]
Don't emulate map/unmap events for native windows
We really need to wait for the MapNotify from the xserver to ensure
that the window has been mapped, as it may be delayed by the WM, network
or similar things.
This fixes a problem in the /ui-tests/keys-events gtk test
Alexander Larsson [Wed, 8 Jul 2009 14:59:14 +0000 (16:59 +0200)]
Fix defaultvalue test due to csw
Initialize GdkWindowAttr required fields. This makes sure toplevel
windows are not accidentally larger than 16bit.
Benjamin Otte [Wed, 8 Jul 2009 15:54:17 +0000 (17:54 +0200)]
Remove unused variable
Michael Natterer [Wed, 8 Jul 2009 15:01:32 +0000 (17:01 +0200)]
Fix the remaining issues that broke the PLT check
Add internal API for the default button box layouts to so we don't
need to call deprectated GTK+ functions (which are invisible with
GTK_DISABLE_DEPRECATED).
Alexander Larsson [Wed, 8 Jul 2009 14:41:32 +0000 (16:41 +0200)]
Move get_cells implementation from deprecated function
This way the deprecated function calls the new one instead of the other
way around, which fixes pltcheck.sh
Alexander Larsson [Wed, 8 Jul 2009 14:38:40 +0000 (16:38 +0200)]
Move get_cells implementation from deprecated function
This way the deprecated function calls the new one instead of the other
way around, which fixes pltcheck.sh
Michael Natterer [Wed, 8 Jul 2009 14:37:29 +0000 (16:37 +0200)]
Some indentation fixes and minor cleanup
Matthias Clasen [Wed, 8 Jul 2009 13:53:41 +0000 (09:53 -0400)]
Make gdk build with GDK_DISABLE_DEPRECATED
Turns out gdk_window_get_deskrelative_origin is now called in
gdk as well.
Kjartan Maraas [Wed, 8 Jul 2009 13:48:51 +0000 (15:48 +0200)]
Use g_object_unref instead of deprecated gdk_pixmap_unref
Nguyễn Thái Ngọc Duy [Wed, 8 Jul 2009 03:42:16 +0000 (13:42 +1000)]
po/vi.po: updated key names
Ivar Smolin [Tue, 7 Jul 2009 21:07:16 +0000 (00:07 +0300)]
Updating Estonian translation
Jorge González [Tue, 7 Jul 2009 20:39:47 +0000 (22:39 +0200)]
Updated Spanish translation
Andre Klapper [Tue, 7 Jul 2009 15:37:07 +0000 (16:37 +0100)]
Improve translator comment. Fixes bug #569393.
Alexander Larsson [Tue, 7 Jul 2009 14:51:11 +0000 (16:51 +0200)]
The shape is in window coordinate, so properly offset it when using it
Alexander Larsson [Tue, 7 Jul 2009 13:14:16 +0000 (15:14 +0200)]
Optimize clip-to-window with clipmask case when fully visible or obscured
This avoids creating alot of bitmaps in common trivial cases.
Alexander Larsson [Tue, 7 Jul 2009 12:51:38 +0000 (14:51 +0200)]
Make clipmasks work for pixbuf rendering
This is more important in the client side windows world, as clip masks
may be used for clipping to non-native subwindows. This fixes a bug
in aisleriot where it uses masked pixbuf drawing and it ends up drawing
over the moving card subwindow.
Alexander Larsson [Tue, 7 Jul 2009 12:33:48 +0000 (14:33 +0200)]
Add _gdk_gc_get_clip_mask
Internal function to get the clip mask of a gc (if set)
Daniel Nylander [Tue, 7 Jul 2009 15:02:17 +0000 (17:02 +0200)]
Updated Swedish translation
Matthias Clasen [Tue, 7 Jul 2009 05:08:01 +0000 (01:08 -0400)]
Reenable tests
Matthias Clasen [Tue, 7 Jul 2009 05:07:27 +0000 (01:07 -0400)]
Bump version
Matthias Clasen [Tue, 7 Jul 2009 05:05:29 +0000 (01:05 -0400)]
2.17.3
Matthias Clasen [Tue, 7 Jul 2009 04:29:14 +0000 (00:29 -0400)]
Fix some distcheck issues
Matthias Clasen [Tue, 7 Jul 2009 04:14:31 +0000 (00:14 -0400)]
Temporarily turn of tests
Since there are some csw regressions.
Matthias Clasen [Tue, 7 Jul 2009 03:06:46 +0000 (23:06 -0400)]
Make distcheck pass
Matthias Clasen [Tue, 7 Jul 2009 01:37:42 +0000 (21:37 -0400)]
Fix a typo
Matthias Clasen [Tue, 7 Jul 2009 00:25:17 +0000 (20:25 -0400)]
Update NEWS
David Zeuthen [Wed, 1 Jul 2009 03:46:02 +0000 (23:46 -0400)]
Bug 587485 – GMountOperation::show-processes support
- Add support for GMountOperation::show-processes
- Implement process look up for the X11 target
Matthias Clasen [Mon, 6 Jul 2009 06:03:21 +0000 (02:03 -0400)]
Use gdk_display_sync instead of XSync
Matthias Clasen [Mon, 6 Jul 2009 05:56:05 +0000 (01:56 -0400)]
Fix redraw issues in GtkInfoBar
This was reported in bug 587716. I have no idea why this used
to work just fine for me...
Matthias Clasen [Mon, 6 Jul 2009 05:20:35 +0000 (01:20 -0400)]
Fix the doc build
Matthias Clasen [Fri, 3 Jul 2009 20:37:14 +0000 (16:37 -0400)]
More documentation fixes
Matthias Clasen [Fri, 3 Jul 2009 19:36:48 +0000 (15:36 -0400)]
More small documentation fixups
Matthias Clasen [Fri, 3 Jul 2009 19:35:41 +0000 (15:35 -0400)]
Small documentation fixes
Alexander Larsson [Sat, 4 Jul 2009 18:13:43 +0000 (20:13 +0200)]
Hack that works around firefox plugin crash
It turns out that mozilla, as per the gtk2xt code selects for input on
the socket with a mask of 0x0fffff (for god knows why) which includes
ButtonPressMask, causing a BadAccess if someone else also selects for
this. As per the client-side windows merge we always normally selects
for button press so we can emulate it on client side children that
selects for button press. However, we don't need this for GtkSocket,
so we unselect it here, fixing the crashes in firefox.
Yaron Shahrabani [Sat, 4 Jul 2009 17:49:39 +0000 (20:49 +0300)]
Updated Hebrew translation
Hans Breuer [Sat, 4 Jul 2009 10:15:39 +0000 (12:15 +0200)]
Updated msvc build
Hans Breuer [Sat, 4 Jul 2009 10:10:57 +0000 (12:10 +0200)]
Fix condition to deliver root coords
Hans Breuer [Sat, 4 Jul 2009 10:07:58 +0000 (12:07 +0200)]
Enable window creation with GDK_WINDOW_CHILD again
Hans Breuer [Sat, 4 Jul 2009 10:03:24 +0000 (12:03 +0200)]
Initialize 'private' before use
Hans Breuer [Sat, 4 Jul 2009 10:01:39 +0000 (12:01 +0200)]
Fix includes for missing prototypes
Hans Breuer [Sat, 4 Jul 2009 09:59:26 +0000 (11:59 +0200)]
Use G_PI rather than M_PI
Hans Breuer [Sat, 4 Jul 2009 09:58:27 +0000 (11:58 +0200)]
Undef USE_MMX for msvc build
Hans Breuer [Wed, 1 Jul 2009 20:29:32 +0000 (22:29 +0200)]
gtk_status_icon_get_title() must return a value
Hans Breuer [Wed, 1 Jul 2009 19:32:46 +0000 (21:32 +0200)]
Updated msvc build
Hans Breuer [Wed, 1 Jul 2009 19:32:11 +0000 (21:32 +0200)]
Conditionally define WS_EX_COMPOSITED
Matthias Clasen [Fri, 3 Jul 2009 19:21:50 +0000 (15:21 -0400)]
Add another bug ref
Matthias Clasen [Fri, 3 Jul 2009 19:17:26 +0000 (15:17 -0400)]
Add doc stubs
Matthias Clasen [Fri, 3 Jul 2009 05:39:59 +0000 (01:39 -0400)]
Add new symbols
Matthias Clasen [Fri, 3 Jul 2009 05:32:46 +0000 (01:32 -0400)]
Update for 2.17.3
Hendrik Richter [Fri, 3 Jul 2009 06:20:49 +0000 (08:20 +0200)]
Updated German translation.
Matthias Clasen [Wed, 1 Jul 2009 19:11:03 +0000 (15:11 -0400)]
Make stock buttons have mnemonics again
We used to treat stock buttons as having an implicit use-underline.
A recent but fix lost that.